<?php
/**
 * This interface is for engines which can be searched over.
 *
 * @author Rob Young <rob@roryoung.co.uk>
 * @package forage.engine
 */
interface ForageEngineSearchable {
  /**
   * Search for documents in an index.
   *
   * @param ForageQuery $query
   * @return ForageReturn
   */
  public function search($query);
}
